package com.zing.network.net;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * @author jichang
 * @date 2018/9/19 20:15
 * email: 2218982471@qq.com
 * describ:
 */
public interface ApiService {

    /**
     * 单个项目列表
     */
    @Headers({"baseUrl:normal"})
    @GET("project/list/{page}/json")
    Observable<ProjectBean> getProjectList(@Path("page") int page, @Query("cid") int id);


}
